package entity

const (
	MemberTypeAll            = -1
	MemberTypeVisit          = 0
	MemberTypeVip            = 1
	UserGenderMale           = 1 //男
	UserGenderFemale         = 2 //女
	UserStatusAll            = 0 //所有状态
	UserStatusLogin          = 1 //已登录
	UserStatusLogout         = 2 //已退出
	UserStatusUnregist       = 3 //已注销
	UserOriginCode           = 10000000
	UserTypeAll              = 0 //所有类型
	UserTypeVisitor          = 1 //游客
	UserTypeNormal           = 2 //正常用户
	UserWxaBindAll           = -1
	UserWxaUnBind            = 0 //未绑定
	UserWxaBind              = 1 //已绑定
	UserMobileBindAll        = -1
	UserMobileUnBind         = 0
	UserMobileBind           = 1
	RegistTypeMobile         = 1
	RegistTypeWxa            = 2
	SyncUserExtUrl           = "/api/v1/task-server/user/ext/sync"
	GetUserExtUrl            = "/api/v1/task-server/user/ext"
	SubmitWithDrawUrl        = "/api/v1/goods-server/with-draw/submit"
	UpdateWithDrawTaskUrl    = "/api/v1/task-server/with-draw/update"
	RebateDetailBySourceUrl  = "/api/v1/task-server/rebate/detail-by-source"
	TriggerTaskUrl           = "/api/v1/task-server/user/action"
	SyncUserOperateAddVistor = "addVisitor"      //添加游客
	SyncuserOperateAddNormal = "addNormal"       //添加正常用户
	SyncUserNormalToVisitor  = "normalToVisitor" //同步正常用户信息到游客
	SyncUserVisitorToNormal  = "visitorToNormal" //同步游客信息到正常用户

	SystemUserStartPhone = 20000000001 //系统用户电话号码
	UserNotSystem        = 0
	UserIsSystem         = 1

	// https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code
	WxaAccessTokenUrl = "https://api.weixin.qq.com/sns/oauth2/access_token"
	// GET https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID
	WxaUserInfoUrl = "https://api.weixin.qq.com/sns/userinfo"
	WxaSessionUrl  = "https://api.weixin.qq.com/sns/jscode2session"
)
